package com.caiheng.api.entity.event;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 设备组对象 event_terminal_group
 *
 * @author ruoyi
 * @date 2023-12-25
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("event_terminal_group")
public class EventTerminalGroup implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 设备组名称
     */
    private String groupName;

    /**
     * 状态  0 -不可用 1 - 可用
     */
    private Integer state;

    /**
     *  设施设备列表
     */
    @TableField(exist = false)
    private List<EventTerminals> terminals;

}
